clear
matrix drop _all
capture log close

log using "suicide-1816-1871-panel-restat-final.log", replace

set matsize 800
set more off
set rmsg on

use "suicide-1816-1871-panel-restat.dta", clear

regress change_suic_1816_1871 change_prot_1816_1871 f_rel1816_prot, robust
regress change_suic_1816_1871 change_prot_1816_1871 f_rel1816_prot change_under15_1816_1871 change_over60_1816_1871 change_urban_1816_1871 f_pop1816_under15 f_pop1816_over60 f_urban1816, robust
regress change_suic_1816_1871 change_prot_1816_1871 f_rel1816_prot change_under15_1816_1871 change_over60_1816_1871 change_urban_1816_1871 f_pop1816_under15 f_pop1816_over60 f_urban1816 f_dead1816_1821_suic_all_pc, robust
regress change_suic_1816_1871 change_prot_1816_1871 f_rel1816_prot change_under15_1816_1871 change_over60_1816_1871 change_urban_1816_1871 f_pop1816_under15 f_pop1816_over60 f_urban1816 f_dead1816_1821_suic_all_pc if abs(change_prot_1816_1871)>2, robust
regress change_suic_1816_1871 change_prot_1816_1871 f_rel1816_prot change_under15_1816_1871 change_over60_1816_1871 change_urban_1816_1871 f_pop1816_under15 f_pop1816_over60 f_urban1816 f_dead1816_1821_suic_all_pc if abs(change_prot_1816_1871)>5, robust


log close

